.directory-management-container {
  padding: 20px;
  background: #f5f7fa;
  min-height: 100vh;
}

.directory-management-card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.directory-management-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
}

.title-section h4 {
  margin-bottom: 8px !important;
  color: #1890ff;
  font-weight: 600;
}

.title-section .ant-typography {
  margin-bottom: 0;
}

.action-section {
  display: flex;
  gap: 12px;
}

/* 表格样式 */
.table-row-even {
  background-color: #fafafa;
}

.table-row-odd {
  background-color: #ffffff;
}

.table-row-even:hover,
.table-row-odd:hover {
  background-color: #e6f7ff !important;
}

/* Tabs样式 */
.ant-tabs-tab {
  padding: 12px 16px !important;
}

.ant-tabs-tab-btn {
  font-weight: 500;
}

.ant-tabs-content-holder {
  padding-top: 10px;
}

/* 表格操作按钮 */
.ant-table-tbody .ant-btn {
  border-radius: 6px;
  font-size: 12px;
  height: 26px;
  padding: 0 8px;
}

/* 配置详情样式 */
.config-detail .ant-row {
  margin-bottom: 8px;
}

.config-detail .ant-col:first-child {
  text-align: right;
  padding-right: 16px;
}

/* 表单按钮样式 */
.form-buttons {
  margin-bottom: 0 !important;
  text-align: right;
  margin-top: 24px;
}

.form-buttons .ant-btn {
  margin-left: 8px;
}

/* Tag样式增强 */
.ant-tag {
  border-radius: 6px;
  font-size: 12px;
  line-height: 20px;
  margin-right: 4px;
}

/* 表格列宽度优化 */
.ant-table-cell {
  padding: 8px 12px !important;
}

.ant-table-thead > tr > th {
  background: #f8f9fa !important;
  border-bottom: 2px solid #e9ecef;
  font-weight: 600;
  color: #495057;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .directory-management-container {
    padding: 12px;
  }
  
  .directory-management-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .action-section {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 弹窗样式优化 */
.ant-modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 24px;
}

.ant-modal-title {
  font-weight: 600;
  color: #1890ff;
}

.ant-modal-body {
  padding: 24px;
}

.ant-modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 16px 24px;
}

/* Switch组件样式 */
.ant-switch-checked {
  background-color: #52c41a;
}

/* 输入框样式 */
.ant-input,
.ant-input-password {
  border-radius: 6px;
}

.ant-input:focus,
.ant-input-password:focus,
.ant-input-focused,
.ant-input-password-focused {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(23, 101, 173, 0.1);
}

/* 按钮样式 */
/* .ant-btn-primary {
  background-color: #1765ad;
  border-color: #1765ad;
  border-radius: 6px;
}

.ant-btn-primary:hover {
  background-color: #1556a0;
  border-color: #1556a0;
}

.ant-btn {
  border-radius: 6px;
  font-weight: 500;
}  */